package com.cloudtec.yunzonedep.modules.demo.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cloudtec.yunzonedep.modules.demo.entity.Demo;
import com.cloudtec.yunzonedep.modules.demo.mapper.DemoMapper;
import com.cloudtec.yunzonedep.modules.demo.service.DemoService;
import org.springframework.stereotype.Service;

@Service("s2")
@DS("slave")
public class DemoServiceImpl2 extends ServiceImpl<DemoMapper, Demo> implements DemoService {

    @Override
    public void transactionTest() {

    }

    @Override
    public Demo queryById(Long id) {
        return null;
    }
}
